/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.net.greenet.common.ucagent_service;

import com.ambimmort.app.framework.uitls.Application;
import com.ambimmort.ucagent.modules.webservice.WebServiceBean;
import com.ambimmort.ucagent.webservice.UcAgentAPI;
import com.ambimmort.ucagent.webservice.WebServiceBeanService;

/**
 *
 * @author 定巍
 */
public class UcAgentSupport {

    WebServiceBeanService service = null;

    WebServiceBean api = null;

    private static UcAgentSupport instance = null;

    public static UcAgentSupport getInstance() {
        if (instance == null) {
            instance = new UcAgentSupport();
        }
        return instance;
    }

    private UcAgentSupport() {
        api = (WebServiceBean) Application.getBean("ucagentSupport");
    }

    public void refresh() {
    }

    public WebServiceBean getApi() {
        return api;
    }

    public static void main(String[] args) {

    }

}
